﻿using System;
using System.Collections;
using System.Windows.Forms;
using DevExpress.XtraGrid.Views.Base;
using DevExpress.XtraGrid.Views.Base.ViewInfo;
using DevExpress.XtraTreeList;

namespace WCFMINERP.ComControls
{


	public enum CollectionChangeType {
		Add,
		Remove
	}

	public class CutedEventArgs : EventArgs {
		
	}

	public class CollectionChangedEventArgs : EventArgs {
		public CollectionChangeType ChangeType { get; set; }
		public object Data { get; set; }
		public bool Cannel { get; set; }
	}

	public class DataDropingEventArgs : EventArgs {
		public object Data;
		public bool Cancel { get; set; }
		public BaseHitInfo HitInfo { get; set; }
		public DropDataType DataType { get; set; }
		public TreeListHitInfo TreeListHitInfo { get; set; }
	}

	public class DataDropedEventArgs : EventArgs {
		public object Data;
		public BaseHitInfo HitInfo { get; set; }
		public DropDataType DataType { get; set; }
		public TreeListHitInfo TreeListHitInfo { get; set; }
	}

	public enum DropDataType {
		Object,
		Path,
	}

	public class DropData {
		public Control Control { get; set; }
		public ColumnView View { get; set; }
		public ICollection Data { get; set; }
		public object FirstData { get; set; }
	}
}